//
//  YZMKLineView.h
//  YZMicroStock
//
//  Created by wangminhong on 16/4/12.
//  Copyright © 2016年 cqjr. All rights reserved.
//

#import <UIKit/UIKit.h>

@class YZMKLineItem;
@class YZMKLinePacket;

@interface YZMKLineView : UIView

@property (nonatomic, copy) NSDictionary *styleDict;

@property (nonatomic, strong) NSArray *dataArray;

@property (nonatomic, assign) CGFloat maxPrice;
@property (nonatomic, assign) CGFloat minPrice;
@property (nonatomic, assign) CGFloat maxAmount;

@property (nonatomic, assign) NSInteger basicIndex;

@property (nonatomic, strong) YZMKLineItem *currentItem;

- (void)updateFromDataPacket: (YZMKLinePacket *)packet;

- (void)clearData;

@end
